/*
 * Background.h
 *
 *  Created on: 2011-5-5
 *      Author: Administrator
 */

#ifndef BACKGROUND_H_
#define BACKGROUND_H_

#include <FGraphics.h>

namespace Galaxy{
class Background {
public:
	Background();
	virtual ~Background();

public:
	void Init();
	void DoPhisic(long now);
	void DoDraw(Osp::Graphics::Canvas* pCanvas);

private:
	Osp::Graphics::Bitmap* __pBackgroundImage;
	int* __pStars;
	int __nbStars;
	long __lastTime;

};
}


#endif /* BACKGROUND_H_ */
